<div style="height:auto;width:100%">
<table  id="fmfrmglass_tblmain" width="100%">
<tr>
<td valign="top" class="width25">
<table class="info" id="fmfrmglass_tblinfo">
<tr><td>
<div id="fmfrmglass_divleft" class="divleft">
<table class="width100">
<tr >
<td  class="lblRequired width40">Tên</td>
<td id="fmfrmglass_tdroomtype"><input type="text" id="fmfrmglass_name" class="txtRequired"></td>
</tr>
<tr >
<td class="lblRequired">Có phụ thu/người </td>
<td >
<input type="checkbox" id="fmfrmglass_chkUserGlass" onclick="ShowExtPrice(this)">
</td>
</tr>
<tr id="fmfrmglass_trextprice" style="display:none">
<td class="lblRequired">Giá </td>
<td >
<input type="text" id="fmfrmglass_extprice" class="txtRequired" value="0">
</td>
</tr>
</table>

</div>
</td></tr>

<tr >
<td >
<button class="save validate btnsave" id="fmfrmglass_submit" type="button"> Thêm Mới </button> <button class="clear" type="reset" id="fm-clear"> Nhập Lại </button> 

<input type="hidden" id="fmfrmglass_hdEdit" value="0"/>
<input type="hidden" id="fmfrmglass_hdId" value=""/>
</td>
</tr>
</table>

</td>
<td class="clsmiddle"></td>
<td height="400" class="width100" valign="top" align="center">
<div id="fmfrmglass_divGrid" class="divGrid"></div></td>
<td class="clsend"></td>
</tr>

</table>
</div>
<script language="javascript">
changeWaiting(0); 
$(document).ready(function () {
    initForm('fmfrmglass_tblinfo');
    initDivleft();
});
function ShowExtPrice(obj){             
    $('#fmfrmglass_extprice').val(0) ;
     if ($(obj).is(':checked')){
      $('#fmfrmglass_trextprice').show() ;  
     }else{
       $('#fmfrmglass_trextprice').hide() ;          
     }
}
changeWaiting(0);
xajax_fmfrmglass_loadGrid();
//xajax_fmfrmglass_fillRoomType();
</script>